package com.lucker.service.caipiaosimulationplan;

import org.springframework.http.ResponseEntity;

import com.lucker.common.model.BetObj;
import com.lucker.ds.model.CaiPiaoSimulationPlan;
import com.lucker.service.BaseService;

public interface CaiPiaoSimulationPlanService extends BaseService<CaiPiaoSimulationPlan, Long> {

	public ResponseEntity<?> bet(Long userId,Long cai_id,BetObj vo) ;
	
	
	
	/***
	 * 
	 * 处理模拟投注的中奖匹配
	 * 
	 * ***/
	public void	matchOpenCode(Long caiId,int cai_type_id,String issueNo,String openCode);
	
	/***
	 * 查询模拟投注列表
	 * @param userId
	 * @param pageSize
	 * @param pageIndex
	 * @return
	 */
	public ResponseEntity<?> getCaiPiaoSimulationPlanList(Long userId,int pageSize,int pageIndex);
	
	/***
	 * 获取投注方案明细
	 * @param planId
	 * @return
	 */
	public ResponseEntity<?> getBetPlanDetailList(Long planId);
}
